package com.itheima.dao;

import com.itheima.pojo.User;
import java.util.List;
import java.util.Map;

/**
 * @author Gallant
 * @create 2020-06-30 12:10
 */
public interface UserManagerDao {
    public void add(User user);
    public void setUserAndRole(Map map);
    public List<User> queryPage(String queryString);
    public void deleteAssociation(Integer id);
    public void delete(Integer id);
    public User findById(Integer id);
    public List<Integer> findRoleIdByUserId(Integer id);
    public void update(User user);
}
